package cn.iocoder.yudao.module.design.controller.admin.problemrecord.vo;

import cn.iocoder.yudao.module.infra.controller.admin.file.vo.file.FileRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
* 问题记录 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class ProblemRecordBaseVO {

    @Schema(description = "房屋id", required = true)
    @NotNull(message = "房屋id不能为空")
    private Long houseId;

    @Schema(description = "流程id", required = true)
    @NotNull(message = "流程id不能为空")
    private Long flowId;

    @Schema(description = "节点id", required = true)
    @NotNull(message = "节点id不能为空")
    private Long nodeId;

    @Schema(description = "问题id", required = true)
    @NotNull(message = "问题id不能为空")
    private Long problemId;

    @Schema(description = "记录类型 " )
//    @NotNull(message = "记录类型 不能为空")
    private Long recordType;

    @Schema(description = "提出者id"  )
    private Long userId;

    @Schema(description = "描述", required = true)
    @NotNull(message = "描述不能为空")
    private String remark;


    @Schema(description = "图片列表")
    private  List<FileRespVO> fileList;




}
